<p-card [style]="{width: '360px'}">




    <div class="ui-g-12 ui-md-12">
      <div class="ui-inputgroup">
        <span class="ui-inputgroup-addon">标题</span>
        <input type="text" pInputText placeholder="在这里输入标题" [(ngModel)]="carousel.title">
      </div>
    </div>

    <div class="ui-g-12 ui-md-12">
      <div class="ui-inputgroup">
        <span class="ui-inputgroup-addon">描述</span>
        <input type="text" pInputText placeholder="在这里输入描述" [(ngModel)]="carousel.discription">
      </div>
    </div>

    <div class="ui-g-12 ui-md-12">
      <div class="ui-inputgroup">
        <span class="ui-inputgroup-addon">封面图片</span>
        <input type="file" (change)="onFileChanged($event)">

      </div>
    </div>

  <div class="ui-g-12 ui-md-12">
    <div class="ui-inputgroup">
      <span class="ui-inputgroup-addon">链接地址</span>
      <input type="text" pInputText placeholder="在这里输入链接地址" [(ngModel)]="carousel.contenturl">
    </div>
  </div>







  <p-footer>
<button class="btn btn-primary" (click)="save()">保存</button>
  </p-footer>
</p-card>
